package com.kgc;

import com.kgc.zuulConfig.PreFiler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy
public class DmZullServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DmZullServerApplication.class, args);
    }
    @Bean
    public PreFiler preFiler(){
        return new PreFiler();
    }
}
